﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/UserMaster.Master" AutoEventWireup="true" CodeBehind="UserInfo.aspx.cs" Inherits="BookManageSys.User.UserInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style4 {
            width: 159px;
            height: 57px;
        }
        .auto-style6 {
            width: 159px;
            height: 61px;
        }
        .auto-style8 {
            text-align: left;
            width: 125px;
        }
        .auto-style9 {
            text-align: left;
            width: 125px;
            height: 27px;
        }
        .auto-style10 {
            text-align: left;
            height: 27px;
        }
        .auto-style11 {
            text-align: left;
            width: 131px;
        }
        .auto-style12 {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="auto-style1">
        <tr>
            <td class="auto-style4">
                <asp:Button ID="BtnPassword" runat="server" Text="密码修改" OnClick="BtnPassword_Click" />
            </td>
            <td rowspan="2">
                <asp:Panel ID="PnlPassword" runat="server" Height="191px">
                    <table class="auto-style1">
                        <tr>
                            <td class="auto-style9">用户名：</td>
                            <td class="auto-style10">
                                <asp:TextBox ID="TxtPassUserName" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style8">原密码：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtPass" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style8">新密码：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtNewPass" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style8">确认密码：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtRePass" runat="server"></asp:TextBox>
                                <br />
                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TxtNewPass" ControlToValidate="TxtRePass" ErrorMessage="两次密码不一致！"></asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style12" colspan="2">
                                <asp:Button ID="BtnPassReset" runat="server" Text="修改" OnClick="BtnPassReset_Click" style="height: 35px" />
                                &nbsp;&nbsp;&nbsp;
                                <asp:Button ID="BtnPassCancel" runat="server" Text="取消" OnClick="BtnPassCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="PnlOthers" runat="server" Height="182px">
                    <table class="auto-style1">
                        <tr>
                            <td class="auto-style11">用户名：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtInfoUserName" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style11">地址：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtAddress" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style11">电话：</td>
                            <td class="auto-style12">
                                <asp:TextBox ID="TxtTelephone" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style12" colspan="2">
                                <asp:Button ID="BtnInfoReset" runat="server" Text="修改" OnClick="BtnInfoReset_Click" />
                                &nbsp;&nbsp;&nbsp;
                                <asp:Button ID="BtnInfoCancel" runat="server" Text="取消" OnClick="BtnInfoCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="auto-style6">
                <asp:Button ID="BtnInfo" runat="server" Text="信息修改" OnClick="BtnInfo_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
